package com.engine4cloud.tdf.supervision.convert;

import com.engine4cloud.tdf.supervision.dto.create.JzdxGroupMembersCreateDTO;
import com.engine4cloud.tdf.supervision.dto.result.JzdxGroupMembersResultDTO;
import com.engine4cloud.tdf.supervision.dto.update.JzdxGroupMembersUpdateDTO;
import com.engine4cloud.tdf.supervision.entity.JzdxGroupMembersEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;


@Mapper
public interface JzdxGroupMembersConvert {
    JzdxGroupMembersConvert INSTANCE = Mappers.getMapper(JzdxGroupMembersConvert.class);

    JzdxGroupMembersEntity create(JzdxGroupMembersCreateDTO s, Long tenantId);

    JzdxGroupMembersEntity update(JzdxGroupMembersUpdateDTO s);

    JzdxGroupMembersResultDTO convert(JzdxGroupMembersEntity s);
}
